package com.wsoft.constant.redis;

/**
 * HR_PM 模块 redis常量
 * @Author z001
 * @Date 2025/2/18 07:58
 */
public class HrPmRedisKeyConstant {

    /**
     * 自定义规则默认过期时间 单位秒 86400 = 1day
     */
    public static final String EXPIRED = "86400";

    /**
     * 绩效模块 前缀
     */
    private static final String HR_PM = "HR_PM:";

    public static final String GROWTH_VALUE = "GROWTH_VALUE:";

    //################################ 组织 ################################

    /**
     * 组织
     */
    public static final String HR_ALL_ORG = "HR_ALL_ORG";

    public static final String HR_ORG = "HR_ORG:";

    //################################ 考核活动  ##################################

    public static final String ACTIVITY_INFO =  "ACTIVITY_INFO:";



    //################################ 人员考核模版 ################################
    /**
     * 模版详情缓存
     */
    public static final String MEMBER_TEMPLATE_DETAIL_INFO =  "MEMBER_TEMPLATE_DETAIL_INFO:";
    //################################ 指标分组 ################################

    /**
     * 指标分组
     */
    private static final String TARGET_GROUP = HR_PM + "TARGET_GROUP:";

    /**
     * 规则详情
     * key: id
     * value : groupEntity
     */
    public static final String GROUP_INFO = TARGET_GROUP + "INFO:";

    /**
     * 查询全部
     *  key: null
     *  value : List<groupEntity>
     */
    public static final String GROUP_ALL = TARGET_GROUP + "ALL";


    //################################ 指标 ################################

    /**
     * 指标
     */
    private static final String TARGET = HR_PM + "TARGET:";

    /**
     * 指标
     * key: id
     * value : targetEntity
     */
    public static final String TARGET_INFO = TARGET + "INFO:";


    //################################ 维度 ################################
    /**
     * 维度
     */
    private static final String SCOPE = HR_PM + "SCOPE:";


    /**
     * 指标
     * key: id
     * value : scopeEntity
     */
    public static final String SCOPE_INFO = SCOPE + "INFO:";


    //################################ 模版 ################################
    /**
     * 模版
     */
    private static final String TEMPLATE = HR_PM + "TEMPLATE:";

    /**
     * 模版
     * key: id
     * value : templateEntity
     */
    public static final String TEMPLATE_INFO = TEMPLATE + "INFO:";

    /**
     * 模版详情缓存
     */
    public static final String TEMPLATE_DETAIL_INFO = TEMPLATE + "DETAIL_INFO:";


    //################################ 评级 ################################
    /**
     * 评级
     */
    private static final String GRADE = HR_PM + "GRADE:";


    /**
     * 评级
     * key: id
     * value : gradeEntity
     */
    public static final String GRADE_INFO = GRADE + "INFO:";

    /**
     * 评级统计
     */
    public static final String GRADE_STATISTICS = GRADE + "STATISTICS:";

    //################################ 评级-组织 ################################

    /**
     * 评级-组织
     */
    private static final String GRADE_ORG = HR_PM + "GRADE_ORG:";


    /**
     * 评级-组织
     * key: id
     * value : gradeOrgEntity
     */
    public static final String GRADE_ORG_INFO = GRADE_ORG + "INFO:";


    //################################ 评级-人员周期 ################################

    /**
     * 评级-人员周期
     */
    private static final String GRADE_MEMBER_CYCLE = HR_PM + "GRADE_MEMBER_CYCLE:";


    /**
     * 评级-人员周期
     * key: id
     * value : gradeMemberCycleEntity
     */
    public static final String GRADE_MEMBER_CYCLE_INFO = GRADE_MEMBER_CYCLE + "INFO:";
}
